#ifndef __SHMIPC_CORE_TYPES_H__
#define __SHMIPC_CORE_TYPES_H__

#include <cstdint>

#define XBUS_INVALID_XCOM_ID (-1)
#define XBUS_INVALID_MSG_ID (0)

namespace shmipc::core {

class WaitType {
public:
    inline static constexpr int32_t NoWait = 0; /** return immediately */
    inline static constexpr int32_t WaitForever = -1; /** wait for ever */
};

} //namespace shmipc::core

#endif /** !__SHMIPC_CORE_TYPES_H__ */
